home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-13 / vde_ed2.zip / ED.DOC < prev    next >
Text File  |  1991-04-18  |  23KB  |  468 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.                         PS's VDE Enhancement Instructions
  24.  
  25.                                 Table of Contents
  26.  
  27.  
  28.                    Introduction ........................... 1
  29.                    Distribution ........................... 2
  30.                    Requirements ........................... 2
  31.                    Installation ........................... 2
  32.                      Modifying VDE ........................ 2
  33.                      Configuring ED.COM ................... 3
  34.                    Operation .............................. 5
  35.                      The Dynamic Function Key Prompts ..... 5
  36.                      Control-Q on the Keypad .............. 5
  37.                      Ctrl-Up Arrow and Ctrl-Down Arrow .... 5
  38.                      The Character Undelete Feature ....... 6
  39.                      What's in ED.VDF ..................... 6
  40.                      Modifying the Function Keys .......... 7
  41.  
  42.  
  43.  
  44.         PS's VDE(tm) Enhancement Instructions
  45.  
  46.         ** Introduction
  47.  
  48.         PS's VDE Enhancement is a "parent" program that runs VDE  release
  49.         1.52 through 1.61 and adds features to enhance its operation. One
  50.         of  the  features added is "dynamic function key  prompts".  This
  51.         feature makes it possible to display prompts for all 40  function
  52.         key  assignments on the screen using only one screen  line.   The
  53.         prompts  displayed are determined by the keys used. For  example,
  54.         if you press the Ctrl key, the prompts for Ctrl-F1 through  Ctrl-
  55.         F10  are  shown.  This feature is especially handy  if  you  draw
  56.         lines  and boxes, because you can see the drawing characters  as-
  57.         signed to the Alt-function keys (when you are using the  supplied
  58.         WordStar  4  key definitions).  Note: Function keys can  be  used
  59.         only when VDE is in the command mode.
  60.  
  61.         Another feature provided is character undelete.  VDE can  restore
  62.         deleted lines or blocks, but it cannot restore more than a single
  63.         character  deleted with Back Space or Del.  PS's VDE  Enhancement
  64.         stores  characters deleted with Back Space and Del in  a  buffer,
  65.         and lets you restore them by pressing a special key sequence.
  66.  
  67.         A third feature is enhanced utilization of the up and down  arrow
  68.         keys.   The  key combinations Ctrl-up arrow and  Ctrl-down  arrow
  69.         produce the same key codes as Ctrl-W and Ctrl-Z, so that you  can
  70.         use  the up and down arrow keys to move the text up and  down  on
  71.         the screen.  If you have version 1.54 or later, there is a provi-
  72.         sion to replace its Ctrl-up arrow command with a function key.
  73.  
  74.         A fourth feature that PS's VDE Enhancement adds is enhanced  uti-
  75.         lization  of the keypad keys.  This feature is useful  for  those
  76.         who  have 84-key keyboards, and those with 101-key keyboards  who
  77.         use  the numeric keypad (with Num Lock off) instead of the  sepa-
  78.         rate arrow keys.  It lets you perform a greater variety of cursor
  79.         movements by causing the keypad 5 key to produce ^Q when pressed.
  80.         This allows you, for example, to jump to the right edge of a line
  81.         by pressing the 5 and 6 (rt arrow) keys, or to jump to the bottom
  82.         of  the  screen by pressing 5 and 2 (down arrow).   If  you  have
  83.         version 1.54 or later, there is a provision to replace its keypad
  84.         5 command with a function key (sort of).
  85.  
  86.         Note:   The third and fourth features will not work if  you  have
  87.         modified the keyboard type-ahead buffer.  However, they will work
  88.         on regular as well as enhanced keyboards.
  89.  
  90.         The  dynamic function key prompts and keypad enhancement are  op-
  91.         tional,  and you can use the program just to add character  unde-
  92.         lete and Ctrl-up/down if you wish.
  93.  
  94.         Note:   This document will refer to the disk containing the  PS's
  95.         VDE Enhancement files as "this disk".  These instructions  assume
  96.         that  you are familiar with general DOS operation, and  that  you
  97.         know  how  to  copy  files,  create  directories,  and  assign  a
  98.         drive/directory as the default.  If you are unfamiliar with these
  99.  
  100.  
  101.                                         1
  102.  
  103.  
  104.  
  105.         terms, consult your DOS manual.
  106.  
  107.         ** Distribution
  108.  
  109.         This program is distributed as "copyrighted but free"   software,
  110.         and  you are free to use it and distribute it to others, as  long
  111.         as  you include this documentation with the other files,  and  as
  112.         long  as you do not modify either the program or  the  documenta-
  113.         tion.
  114.  
  115.         You may not sell this program for any amount, but you may  charge
  116.         a nominal fee (e.g. $5.00) for the disk on which it is distribut-
  117.         ed.   If you are a shareware distributor, it is recommended  that
  118.         you  combine this program with other utilities on a disk to  pro-
  119.         vide your customer a greater service.
  120.  
  121.         If you have any suggestions to improve this program, please  send
  122.         them to
  123.  
  124.         Patrick Swayne
  125.         155 Baker St.
  126.         Coloma, MI 49038
  127.  
  128.         Warranty
  129.  
  130.         This program is provided AS IS without any warranty, expressed or
  131.         implied,  including but not limited to fitness for  a  particular
  132.         purpose.
  133.  
  134.         Disclaimer
  135.  
  136.         In no event will Patrick Swayne be liable to you for any damages,
  137.         including any lost profits, lost savings, or other incidental  or
  138.         consequential  damages arising out of the use of or inability  to
  139.         use this program, even if Patrick Swayne has been advised of  the
  140.         possibility of such damages, or for any claim by any other party.
  141.  
  142.         ** Requirements
  143.  
  144.         To  use PS's VDE Enhancement, you will need a PC-compatible  com-
  145.         puter  capable of running VDE, the appropriate version of  MS-DOS
  146.         or PC-DOS, and enough memory to run your version of VDE.   ED.COM
  147.         itself  (the "parent" program that enhances VDE) uses  about  3k,
  148.         but  there is usually enough leeway in the specified  memory  re-
  149.         quirements for VDE to allow for it.
  150.  
  151.         ** Installation
  152.  
  153.         The first thing that you should do before installing this package
  154.         is to make back up copies of this disk and your VDE disk.
  155.  
  156.         Modifying VDE
  157.  
  158.         This  section describes the changes that must be made to  VDE  so
  159.         that  it  can  run with the PS's VDE Enhancement.   To  make  the
  160.  
  161.  
  162.                                         2
  163.  
  164.  
  165.  
  166.         changes, follow these steps.
  167.  
  168.         1.   Copy the files ED.COM and ED.VDF from this disk to your  VDE
  169.              disk  and/or  directory.   If you have  version  1.52,  copy
  170.              ED152.VDF instead of ED.VDF, and rename it to ED.VDF.
  171.  
  172.         2.   Make  your  VDE drive and directory the  default  drive  and
  173.              directory.
  174.  
  175.         3.   Type  VINST  (VINSTALL if version 1.52)  and  press  Return.
  176.              Select <I>nstallation at the main menu, and select 1 at  the
  177.              installation menu (if your computer is not 100% IBM compati-
  178.              ble,  you cannot use the VDE Enhancement).  Press Return  at
  179.              all of the prompts, or enter your preferences, until you get
  180.              to  "Ignore enhanced keyboard:", and type Y.  Press  Esc  to
  181.              return to the main menu, and press S to save the changes.
  182.  
  183.         4.   If  you want dynamic function key prompts,  select  <O>ption
  184.              configuration at the main menu.  Enter Y at the "Use COMMAND
  185.              mode:" prompt if VDE is not already set to the command mode.
  186.              Press Return or enter your choices at each prompt until  you
  187.              get  to "Reserve status line:", and enter Y.  Continue  with
  188.              the  rest of the Option prompts, press Esc to return to  the
  189.              main menu, and press S to save the changes.
  190.  
  191.         4.   If you are installing dynamic function key prompts, and  you
  192.              want  to use WordStar-type prompts, select  <F>unction  keys
  193.              from  the  main menu and <R>ead file from the  function  key
  194.              menu.  Enter ED.VDF as the file to read.  This is a modified
  195.              version of WS4.VDF, with more functions added, and its func-
  196.              tions match the default dynamic function key prompts.  Press
  197.              Return  to exit from the function key menu, and press  S  to
  198.              save  the changes.  Note:  ED.VDF contains replacements  for
  199.              the Ctrl-up arrow and keypad 5 commands of version 1.54  and
  200.              later.   See "What's in ED.VDF" later in this  document  for
  201.              more information.
  202.  
  203.         Configuring ED.COM
  204.  
  205.         ED.COM is the "parent" program that runs VDE.COM as a "child" and
  206.         adds  features to enhance the operation of VDE.  After ED.COM  is
  207.         installed  properly, you should type ED at the system  prompt  to
  208.         run  VDE  rather than typing VDE.  To configure  ED.COM  to  work
  209.         properly  with  your VDE, perform the following steps  (your  VDE
  210.         disk/directory should be the default):
  211.  
  212.         1.   Type ED INSTALL and press Return.
  213.  
  214.         2.   When you are prompted for the name of "this program",  press
  215.              Return.   (Later, if you decide to use a command other  than
  216.              ED to start VDE, you may rename ED.COM.)
  217.  
  218.         3.   ED.COM  will prompt for your VDE execution path.  Enter  the
  219.              complete  path describing the location of your VDE.COM  file.
  220.              For example, if you have VDE.COM on drive C: in a  directory
  221.  
  222.  
  223.                                         3
  224.  
  225.  
  226.  
  227.              called  VDE, enter C:\VDE\VDE.COM.  Press Return after  your
  228.              entry.  If you have a floppy only system, you should include
  229.              the drive that the VDE program disk will be in during normal
  230.              operation.
  231.  
  232.         4.   ED.COM  will ask "Does BACK SPACE delete  characters?".   if
  233.              your VDE works like WordStar version 3 (Back Space moves the
  234.              cursor  back without deleting characters), answer N to  this
  235.              question.  ED.COM needs the answer to this question and  the
  236.              next  one so that its character undelete feature  will  work
  237.              correctly.
  238.  
  239.         5.   ED.COM  will ask "Does DEL work like Control-G?".  Answer  Y
  240.              to  this question if your VDE is set up so that the  Del  or
  241.              Delete  key removes the character at the cursor rather  than
  242.              the  character  to the left of the cursor.  Answer N  if  it
  243.              deletes the character to the left of the cursor.
  244.  
  245.         6.   ED.COM  will ask "Do you want Caps Lock and Ctrl  switched?"
  246.              Answer Y if you have a 101-key keyboard and you would rather
  247.              have the Ctrl key in its old position.  Do this whether  you
  248.              have another key switching program installed or not, because
  249.              it  will not work correctly with ED.COM.  (It will  continue
  250.              to function normally while you are not running ED.)
  251.  
  252.         7.   ED.COM will ask "Do you want ^Q from keypad 5 (with Num Lock
  253.              off)?".  Answer Y to this question if you want this feature,
  254.              or N if you do not.
  255.  
  256.         8.   ED.COM will ask "Do you want Dynamic Function Key Prompts?".
  257.              Answer Y or N depending on whether you want them or not.
  258.  
  259.         9.   If  you  answered  Y at step 8, ED.COM will  ask  "How  many
  260.              screen lines does your VDE use? (A=25, B=43, C=50)".  Type A
  261.              if you will be using normal 25 line operation, B for 43 line
  262.              EGA operation, or C for 50 line VGA operation.  Note:  There
  263.              is a bug in VDE versions 1.52 through 1.54 that causes it to
  264.              forget that you have reserved a status line if you use Alt-E
  265.              to  change the number of screen lines while the  program  is
  266.              running.   Therefore, you must change the number  of  screen
  267.              lines before you start one of these versions of VDE, using a
  268.              utility  such as the Norton NCC program.  If you use  Alt-E,
  269.              the dynamic function key prompts will not work.
  270.  
  271.         10.  If you answered Y at step 8, ED.COM will ask "Do you want to
  272.              change  the function key prompt colors?"  The  function  key
  273.              prompt consists of a key number and a 7 character label  for
  274.              each of the keys F1 through F10.  If you answer Y, you  will
  275.              be prompted for the key foreground color, the key background
  276.              color, the label foreground color, and the label  background
  277.              color.   The default colors are white (light gray) on  black
  278.              for the key numbers, and black on white for the key  labels.
  279.              Colors  should  be entered as hexadecimal numbers  from  the
  280.              following chart:
  281.  
  282.  
  283.  
  284.                                         4
  285.  
  286.  
  287.  
  288.              0  black       4  red         8  dk gray     C  lt red
  289.              1  blue        5  magenta     9  lt blue     D  lt magenta
  290.              2  green       6  brown       A  lt green    E  yellow
  291.              3  cyan        7  lt gray     B  lt cyan     F  white
  292.  
  293.         You should use only colors 0-7 for background colors.
  294.  
  295.         11.  If you answered Y at step 8, ED.COM will ask "Do you want to
  296.              change the function key prompts?".  Answer N for now.   Lat-
  297.              er,  if you change the function key assignments with  VINST,
  298.              you can run ED INSTALL again and answer Y to this  question.
  299.              ED.COM  will then display the existing prompt for  each  key
  300.              and  allow  you to type in a new one.   See  "Modifying  the
  301.              Function Keys" later in this document for more information.
  302.  
  303.         After  you either answer N to the "change function  key  prompts"
  304.         question, or finish providing the new prompts, ED.COM will modify
  305.         itself with your changes.
  306.  
  307.         This completes the basic installation of PS's VDE Enhancement.
  308.  
  309.         ** Operation
  310.  
  311.         Starting  VDE with PS's VDE Enhancement installed is the same  as
  312.         starting VDE without it except that you type ED at the DOS prompt
  313.         instead  of VDE.  Once VDE has started, however, there  are  some
  314.         differences in operation, and some additional commands.
  315.  
  316.         The Dynamic Function Key Prompts
  317.  
  318.         When you first start VDE with the Enhancement installed (and  the
  319.         key  prompts enabled), there will a single line of  function  key
  320.         prompts  on the bottom screen line.  If you press a Shift,  Ctrl,
  321.         or Alt key, the function key prompts will automatically change to
  322.         indicate the correct response with that key held down.  When  you
  323.         release  the  Shift, Ctrl, or Alt key, the function  key  prompts
  324.         will again show the unshifted responses.
  325.  
  326.         Control-Q on the Keypad
  327.  
  328.         If  you installed ED.COM so that the keypad 5 key (with Num  Lock
  329.         off)  produces Control-Q, you can use it to issue extra  commands
  330.         from the keypad without having to hold down the Ctrl key.  Assum-
  331.         ing  that Num Lock is off, here are the extra commands  that  are
  332.         available (5+8 means to type 5 and then 8, but not the +).
  333.  
  334.         Key combination     Command
  335.         5+8                 Move cursor to screen top
  336.         5+2                 Move cursor to screen bottom
  337.         5+4                 Move cursor to left side of screen
  338.         5+6                 Move cursor to right side of screen
  339.  
  340.         Ctrl-Up Arrow and Ctrl-Down Arrow
  341.  
  342.         In addition to using Ctrl-W, Ctrl-X, or the keypad + and -  keys,
  343.  
  344.  
  345.                                         5
  346.  
  347.  
  348.  
  349.         you can use Ctrl-up arrow and Ctrl-down arrow to move the text up
  350.         or  down in the current screen window.  This feature is handy  if
  351.         you use VDE on a laptop that does not have a keypad.
  352.  
  353.         The Character Undelete Feature
  354.  
  355.         One of the best features added to VDE by ED.COM is the  character
  356.         undelete  feature.  If you delete characters from the screen  one
  357.         at  a time (rather than a line at a time or by deleting a  marked
  358.         block),  the deleted characters are stored in a buffer, and  they
  359.         can  be  restored one at a time beginning with  the  most  recent
  360.         character deleted.  The character undelete buffer holds 256 char-
  361.         acters,  so if you have deleted more, only the last 256  will  be
  362.         preserved.
  363.  
  364.         Note:  The following discussion assumes that Back Space is set to
  365.         delete the character to the left of the cursor, and Del is set to
  366.         delete  the  character at the cursor.  Substitute  Del  for  Back
  367.         Space  and Ctrl-G for Del if your VDE is configured to work  like
  368.         WordStar 3.
  369.  
  370.         There  are two different ways to restore deleted characters,  de-
  371.         pending on how they were deleted.  If they were deleted with  the
  372.         Back Space key, press Alt-H for each character you want to  unde-
  373.         lete.  If they were deleted by the Del key, use Alt-J.  Note:  In
  374.         order  for  Alt-J to work correctly, the Insert mode must  be  on
  375.         (the word Ins will be at the top of the screen).
  376.  
  377.         If  you mistakenly use Alt-H to undelete characters deleted  with
  378.         Del, or Alt-J to undelete characters deleted with Back Space, the
  379.         undeleted characters will be backwards on the screen.  For  exam-
  380.         ple,  if  "house" was deleted and then restored  incorrectly,  it
  381.         would come out "esuoh".  To fix the situation, use Del to  remove
  382.         text  incorrectly  restored with Alt-J, or Back Space  to  remove
  383.         text  incorrectly restored with Alt-H, and then use  the  correct
  384.         key combination to restore it.
  385.  
  386.         If  you would like to purge (zap) all of the  deleted  characters
  387.         from the character delete buffer, press Alt-Z.  To remove  (kill)
  388.         characters one at a time, press Alt-K once for each character you
  389.         want to remove.
  390.  
  391.         The  character undelete feature does not always  restore  deleted
  392.         characters  correctly.  In particular, in the  non-document  mode
  393.         tabs  will be restored as spaces (one space for each deleted  tab
  394.         character.   If you have version 1.52, do not attempt to  restore
  395.         deleted graphic characters.  They will be restored as the  actual
  396.         graphic characters rather than as Alt-G sequences, and the system
  397.         may  interpret  them as function key  commands  with  undesirable
  398.         results.
  399.  
  400.         What's in ED.VDF
  401.  
  402.         ED.VDF (or ED152.VDF) is a modified version of WS4.VDF.  It  con-
  403.         tains  the  same key responses with the  following  changes.   F7
  404.  
  405.  
  406.                                         6
  407.  
  408.  
  409.  
  410.         (labeled  Ruler in the dynamic function key prompts) toggles  the
  411.         ruler at the top of the screen on or off.  F8 executes ^KQ, which
  412.         causes  VDE  to quit without recording any changes you  may  have
  413.         made  to the current file.  Because of a bug, VDE  versions  1.52
  414.         through 1.54 do not ask "Abandon changes?" when ^KQ is issued  as
  415.         a macro, so this command is labeled "Quit!" (note the exclamation
  416.         point) to alert you to this.  (This is fixed in later versions.)
  417.  
  418.         Shift-F3 executes ^OE, (bring the current line to the top of  the
  419.         screen)  so it is a replacement for the Ctrl-up arrow command  of
  420.         version 1.54 and later.  Shift-F4 executes ^OE and 10 ^W's, which
  421.         brings the current line to the middle of the screen, so it serves
  422.         as a replacement for the version 1.54 and later keypad 5  command
  423.         (at least, if your screen has 25 lines).
  424.  
  425.         Ctrl-F7 causes VDE to draw a crossed line character, which is the
  426.         one  box character missing from the Alt-function keys.  The  line
  427.         characters  drawn by ED.VDF are the single line type (as used  by
  428.         WordStar)  rather  than the double line type.  If  you  have  VDE
  429.         version 1.53 or later, you can still use Alt-G to draw the double
  430.         line characters.
  431.  
  432.         Modifying the Function Keys
  433.  
  434.         If  you  want to modify the responses assigned  to  the  function
  435.         keys, you can do it with VINST by loading in another VDF file, or
  436.         by  entering new values manually.  After you make  your  changes,
  437.         run ED INSTALL as instructed previously and answer each  question
  438.         with the value that is currently set (or just press Return) until
  439.         you  get  to the "Do you want to change the function  key  prompt
  440.         colors?"  question.  You can answer Y here if you want to  change
  441.         the  colors,  or N if you do not.  Then answer Y to the  "Do  you
  442.         want to change the function key prompts?" question.
  443.  
  444.         ED.COM will show you the current prompt for the unshifted F1 key.
  445.         You can enter a new prompt of 1 to 7 characters, or you can press
  446.         Return by itself to accept the old prompt as it is.  Then  ED.COM
  447.         will  display the prompt for the F2 key and allow you to enter  a
  448.         new one, or accept the old one, and so on until you have hand  an
  449.         opportunity to modify the prompts of all 10 function keys.   Then
  450.         ED.COM will display the prompts as they will appear during opera-
  451.         tion  (using any new colors you may have selected), and  ask  "Is
  452.         this  OK?"  If you answer N, ED.COM will start over with the  un-
  453.         shifted  F1 key.  If you answer Y, ED.COM will start with  prompt
  454.         for Shift-F1.  This process will continue until you have had  the
  455.         opportunity to change all 40 prompts.
  456.  
  457.         You  can  enter a graphic character into any prompt by  typing  a
  458.         dollar sign ($) followed by the hexadecimal value of the  graphic
  459.         character.  If you want to put a dollar sign into a prompt,  type
  460.         two dollar signs.
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.                                         7
  468.